package Test;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context
                = new AnnotationConfigApplicationContext("Test");
        Driver driver = context.getBean(Driver.class);
        driver.work();
    }
}
